package com.twopai.twopai.contact;
import com.twopai.framelibrary.http.BaseObjectBean;
import com.twopai.mvpbase.BaseView;
import com.twopai.framelibrary.entity.KDItemEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;

/**
 * Author:twopai
 * Description:
 */
public interface RunShopFragContract {
    interface Model{
        Observable<BaseObjectBean<KDItemEntity>> newsList(RequestBody body);
    }
    interface View extends BaseView {
       void newsListSuccess(BaseObjectBean<KDItemEntity> bean);
       void newsListError(Throwable e);
    }
    interface Presenter{
        void newsList(RequestBody body);
    }
}
